package com.atguigu.gmall.oms.mapper;

import com.atguigu.gmall.oms.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单
 * 
 * @author hengdie
 * @email hengdie@atguigu.com
 * @date 2021-11-29 20:24:00
 */
@Mapper
public interface OrderMapper extends BaseMapper<OrderEntity> {


    int updateByToken(@Param("orderToken") String orderToken,@Param("except") int except, @Param("target")int target);

    int updatePaySuccess(@Param("orderToken") String orderToken);
}
